ANativeWindowTransform

Transforms that can be applied to buffers as they are displayed to a window.

Supported transforms are any combination of horizontal mirror, vertical mirror, and clockwise 90 degree rotation, in that order. Rotations of 180 and 270 degrees are made up of those basic transforms.

Values

ValueMeaning
ANATIVEWINDOW_TRANSFORM_IDENTITY0x00
ANATIVEWINDOW_TRANSFORM_MIRROR_HORIZONTAL0x01
ANATIVEWINDOW_TRANSFORM_MIRROR_VERTICAL0x02
ANATIVEWINDOW_TRANSFORM_ROTATE_900x04
ANATIVEWINDOW_TRANSFORM_ROTATE_180ANATIVEWINDOW_TRANSFORM_MIRROR_HORIZONTAL | ANATIVEWINDOW_TRANSFORM_MIRROR_VERTICAL
ANATIVEWINDOW_TRANSFORM_ROTATE_270ANATIVEWINDOW_TRANSFORM_ROTATE_180 | ANATIVEWINDOW_TRANSFORM_ROTATE_90

Meta